UCF STIG Viewer Logo

The system package management tool must cryptographically verify the authenticity of system software packages during installation.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000013 RHEL-06-000013 RHEL-06-000013_rule High
Description
Ensuring the validity of packages' cryptographic signatures prior to installation ensures the provenance of the software and protects against malicious tampering.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000013_chk )
To determine whether "yum" is configured to use "gpgcheck", inspect "/etc/yum.conf" and ensure the following appears in the "[main]" section:

gpgcheck=1

A value of "1" indicates that "gpgcheck" is enabled. Absence of a "gpgcheck" line or a setting of "0" indicates that it is disabled.
If GPG checking is not enabled, this is a finding.
Fix Text (F-RHEL-06-000013_fix)
The "gpgcheck" option should be used to ensure checking of an RPM package's signature always occurs prior to its installation. To configure yum to check package signatures before installing them, ensure the following line appears in "/etc/yum.conf" in the "[main]" section:

gpgcheck=1